Optimal. Leaf size=68 \[ \frac {8 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 f}-\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{5/2}}{a^2 c f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.20, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {2736, 2674, 2673} \[ \frac {8 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 f}-\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{5/2}}{a^2 c f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2673
Rule 2674
Rule 2736
Rubi steps
\begin {align*} \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^2} \, dx &=\frac {\int \sec ^4(e+f x) (c-c \sin (e+f x))^{7/2} \, dx}{a^2 c^2}\\ &=-\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{5/2}}{a^2 c f}-\frac {4 \int \sec ^4(e+f x) (c-c \sin (e+f x))^{5/2} \, dx}{a^2 c}\\ &=\frac {8 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 f}-\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{5/2}}{a^2 c f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.37, size = 92, normalized size = 1.35 \[ \frac {2 c (3 \sin (e+f x)+1) \sqrt {c-c \sin (e+f x)} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )}{3 a^2 f (\sin (e+f x)+1)^2 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 57, normalized size = 0.84 \[ \frac {2 \, {\left (3 \, c \sin \left (f x + e\right ) + c\right )} \sqrt {-c \sin \left (f x + e\right ) + c}}{3 \, {\left (a^{2} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) + a^{2} f \cos \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.91, size = 61, normalized size = 0.90 \[ -\frac {2 c^{2} \left (\sin \left (f x +e \right )-1\right ) \left (3 \sin \left (f x +e \right )+1\right )}{3 a^{2} \left (1+\sin \left (f x +e \right )\right ) \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.43, size = 239, normalized size = 3.51 \[ -\frac {2 \, {\left (c^{\frac {3}{2}} + \frac {6 \, c^{\frac {3}{2}} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {3 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {12 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {3 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} + \frac {6 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}} + \frac {c^{\frac {3}{2}} \sin \left (f x + e\right )^{6}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{6}}\right )}}{3 \, {\left (a^{2} + \frac {3 \, a^{2} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {3 \, a^{2} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {a^{2} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )} f {\left (\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )}^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 10.32, size = 120, normalized size = 1.76 \[ -\frac {4\,c\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}\,\left (2\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,3{}\mathrm {i}+3{}\mathrm {i}\right )}{3\,a^2\,f\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^3\,\left (1+{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {c \sqrt {- c \sin {\left (e + f x \right )} + c}}{\sin ^{2}{\left (e + f x \right )} + 2 \sin {\left (e + f x \right )} + 1}\, dx + \int \left (- \frac {c \sqrt {- c \sin {\left (e + f x \right )} + c} \sin {\left (e + f x \right )}}{\sin ^{2}{\left (e + f x \right )} + 2 \sin {\left (e + f x \right )} + 1}\right )\, dx}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________